package jps.ast.binary;

import jps.ast.Expression;
import edu.pjwstk.jps.ast.IExpression;
import edu.pjwstk.jps.ast.binary.IBinaryExpression;

public abstract class BinaryExpression extends Expression implements IBinaryExpression {

	private IExpression left;
	private IExpression right;
	
	public BinaryExpression(IExpression left, IExpression right) {
		super();
		this.left = left;
		this.right = right;
	}

	@Override
	public IExpression getLeftExpression() {
		return left;
	}

	@Override
	public IExpression getRightExpression() {
		return right;
	}
	
}
